package com.qxbb.report.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qxbb.report.bo.ChainOrderSalerBO;
import com.qxbb.report.bo.ChainOrderWeekBO;
import com.qxbb.report.bo.HeadQuartersSalersBO;
import com.qxbb.report.bo.OperatorBO;
import com.qxbb.report.dto.ChainSalesWeekDTO;
import com.qxbb.report.pojo.ChainSalesOrder;
import com.qxbb.report.vo.ChainSalesOrderVO;
import com.qxbb.report.vo.HeadQuartersOrdersVO;

import java.text.ParseException;
import java.util.HashMap;
import java.util.List;

public interface ChainSalesOrderService extends IService<ChainSalesOrder> {


    /**
     * 查询连锁店销售详情
     * @param chainOrderSalerBO
     * @return
     */
    ChainSalesOrderVO selectChainSaleOrder(ChainOrderSalerBO chainOrderSalerBO);

    /**
     * 查询所有连锁店销售信息
     * @param headQuartersSalersBO
     * @return
     */
    List<HeadQuartersOrdersVO> selectHeadQuartersOrder(HeadQuartersSalersBO headQuartersSalersBO);

    /**
     * 连锁店自营这查询自己名下所有店铺销售报表信息
     * @param operatorBO
     * @return
     */
    List<HeadQuartersOrdersVO> selectOperatorAll(OperatorBO operatorBO);

    /**
     *
     * @param chainOrderWeekBO
     */
    HashMap<String,List<List<Integer>>> selectChainOrderWeek(ChainOrderWeekBO chainOrderWeekBO) throws ParseException;

    /**
     * 查询当月日历
     * @param chainOrderWeekBO
     * @return
     * @throws ParseException
     */
    List<List<Integer>> selectMonth(ChainOrderWeekBO chainOrderWeekBO) throws ParseException;

}
